package com.ruoyi.system.domain.front;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotBlank;

public class UpdatePhone extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学号 */
    @NotBlank(message = "学号不能为空")
    private String studentId;

    /** 电话号码 */
    private String studentPhone;

    /** 班级 */
    private String studentMajor;

    public void setStudentId(String studentId)
    {
        this.studentId = studentId;
    }

    public String getStudentId()
    {
        return studentId;
    }

    public void setStudentPhone(String studentPhone)
    {
        this.studentPhone = studentPhone;
    }

    public String getStudentPhone()
    {
        return studentPhone;
    }
    public void setStudentMajor(String studentMajor)
    {
        this.studentMajor = studentMajor;
    }

    public String getStudentMajor()
    {
        return studentMajor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("studentId", getStudentId())
                .append("studentPhone", getStudentPhone())
                .append("studentMajor", getStudentMajor())
                .toString();
    }
}
